package com.softline.documentsmall.dao;

import com.softline.documentsmall.entity.Handbook;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

@Mapper
public interface HandbookMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Handbook record);

    int insertSelective(Handbook record);

    Handbook selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Handbook record);

    int updateByPrimaryKey(Handbook record);

    Handbook query(@Param("type") String type,@Param("genre") Long genre);
}
